<template>
	<view>
		<view class="msg" v-if="show">注意：需要自定义编译模式1011才会出现公众号组件</view>
		<custom-official-account class="cont" msg="关注微信公众号，海量资料任你查阅！" :isFollow="false" :max="5"></custom-official-account>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				show: false
			}
		},
		onLoad(options) {
			this.show = options.show;
		}
	}
</script>
<style scoped>
	.cont {
		position: fixed;
		top: 60rpx;
		left: 50%;
		transform: translateX(-50%);
		width: 700rpx;
	}
</style>
